package icu.wdtt.model;

import io.swagger.annotations.ApiModelProperty;

public class Authority {
    @ApiModelProperty("主键")
    private int aid;
    @ApiModelProperty("权限名称")
    private String aname;
    @ApiModelProperty("对应页面")
    private String aurl;
    @ApiModelProperty("权限描述")
    private String adescribe;
    @ApiModelProperty("权限代码")
    private String permissionCode;
    @ApiModelProperty("菜单级数")
    private int menuLevel;

    public Authority(int aid, String aname, String aurl, String adescribe, String permissionCode, int menuLevel) {
        this.aid = aid;
        this.aname = aname;
        this.aurl = aurl;
        this.adescribe = adescribe;
        this.permissionCode = permissionCode;
        this.menuLevel = menuLevel;
    }
    public Authority() {
    }



    public String getPermissionCode() {
        return permissionCode;
    }

    public void setPermissionCode(String permissionCode) {
        this.permissionCode = permissionCode;
    }

    public int getMenuLevel() {
        return menuLevel;
    }

    public void setMenuLevel(int menuLevel) {
        this.menuLevel = menuLevel;
    }

    public int getAid() {
        return aid;
    }

    public void setAid(int aid) {
        this.aid = aid;
    }

    public String getAname() {
        return aname;
    }

    public void setAname(String aname) {
        this.aname = aname;
    }

    public String getAurl() {
        return aurl;
    }

    public void setAurl(String aurl) {
        this.aurl = aurl;
    }

    public String getAdescribe() {
        return adescribe;
    }

    public void setAdescribe(String adescribe) {
        this.adescribe = adescribe;
    }
    @Override
    public String toString() {
        return "Authority{" +
                "aid=" + aid +
                ", aname='" + aname + '\'' +
                ", aurl='" + aurl + '\'' +
                ", adescribe='" + adescribe + '\'' +
                ", permissionCode='" + permissionCode + '\'' +
                ", menuLevel=" + menuLevel +
                '}';
    }
}
